﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAO;
namespace BUS
{
    public class BUS_Lop
    {
        public static List<DTO_Lop> SelectLop()
        {
            return DAO.DAO_Lop.SelectLop();
        }
        public static List<DTO_Lop> SelectLop_theoKhoaHoc(string makhoahoc)
        {
            return DAO_Lop.SelectLop_theoKhoaHoc(makhoahoc);
        }
        public static List<DTO_Lop> SelectLop_theoKhoa(string makhoa)
        {
            return DAO_Lop.SelectLop_theoKhoa(makhoa);
        }
        public static bool deleteLop(string malop)
        {
            return DAO.DAO_Lop.deleteLop(malop);
        }
        public static bool insertLop(DTO_Lop lop)
        {
            return DAO.DAO_Lop.insertLop(lop);
        }
        public static bool updateLop(DTO_Lop lop, string malop_cu)
        {
            return DAO.DAO_Lop.updateLop(lop, malop_cu);
        }
        public static List<DTO_Lop> SelectKH_Theolop(string masv)
        {
            return DAO.DAO_Lop.SelectKH_Theolop(masv);
        }
    }
}
